package cn.djx.springsecurity.service;

import cn.djx.springsecurity.entity.Users;
import cn.djx.springsecurity.utils.ResponseResult;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface LoginService {
    // 登录
    ResponseResult login(Users users) throws JsonProcessingException;

    ResponseResult register(Users users);

    ResponseResult logout();
}
